package com.razor.data;

/**
 * 类描述
 *
 * @author razor.liu
 * @version 1.0
 * @date 2021/8/13 1:40 下午
 */
public enum OrderStatus {
    Create(6,1,"待支付"),
    Matching(0,2,"配对中"),
    Pickup(1,3,"司机接单"),
    Waiting(15,4,"等待司机上车"),
    Going(7,5,"服务中"),
    Complete(10,6,"司机完成"),
    SendBill(13,7,"发送账单"),
    Over(2,8,"订单完成"),
    Cancel(3,9,"用户取消");

    private int status;

    private int value;

    private String msg;


    OrderStatus(int status, int value, String msg) {
        this.status = status;
        this.value = value;
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public int getValue() {
        return value;
    }

    public String getMsg() {
        return msg;
    }
}
